package books.ThinkingInJava.src.Chapter5;

/**
 * @author bloodcolding
 * @version 1.0
 * @date 2/9/2020 9:57 AM
 */
public class Bird {
    public void fly() {
        System.out.println("Normal fly!");
    }

    public void fly(String s) {
        System.out.println("Fly in " + s);
    }

    private void eat() {

    }

    public static void main(String[] args) {
        Bird b = new Bird();
        b.fly();
        b.fly("rain");

    }
}
